Skip to content

Conversation

@steveahnahn
Copy link
Contributor

Problem

& in a tag name is breaking by not capturing the full string but rather the first portion just before the &. This may affect other special characters.

Solution

Added encodeURIComponent() to properly URL-encode tag names when constructing filter links in DagTags.tsx. This ensures special characters like & are percent-encoded and treated as part of the tag value rather than URL syntax.

Full unfiltered Dags:
Screenshot 2025-11-13 at 10 20 32 AM

Filtered by tag with &
Screenshot 2025-11-13 at 10 20 41 AM

Related Issue:

Fixes #58260

@guan404ming guan404ming merged commit aebbf2d into apache:main Nov 16, 2025
60 checks passed
aaron-wolmutt pushed a commit to aaron-wolmutt/airflow that referenced this pull request Nov 20, 2025
@guan404ming guan404ming added this to the Airflow 3.1.4 milestone Nov 21, 2025
@guan404ming guan404ming added the backport-to-v3-1-test Mark PR with this label to backport to v3-1-test branch label Nov 21, 2025
guan404ming pushed a commit to guan404ming/airflow that referenced this pull request Nov 21, 2025
(cherry picked from commit aebbf2d)

Co-authored-by: Steve Ahn <steveahnahn@g.ucla.edu>
pierrejeambrun pushed a commit that referenced this pull request Nov 21, 2025
(cherry picked from commit aebbf2d)

Co-authored-by: Steve Ahn <steveahnahn@g.ucla.edu>
ephraimbuddy pushed a commit that referenced this pull request Dec 3, 2025
(cherry picked from commit aebbf2d)

Co-authored-by: Steve Ahn <steveahnahn@g.ucla.edu>
Copilot AI pushed a commit to jason810496/airflow that referenced this pull request Dec 5, 2025
itayweb pushed a commit to itayweb/airflow that referenced this pull request Dec 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:UI Related to UI/UX. For Frontend Developers. backport-to-v3-1-test Mark PR with this label to backport to v3-1-test branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Tag containing "&" character breaks DAG tag filtering in Airflow Web UI

2 participants